IfSo\Services\GeolocationService\GeolocationService B

Total Complexity 87
Dependencies 3
Dependents 4
Total lines 302
Lines of code 247
Logical lines of code 165
Comment lines 14
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
notifications_email()
B
40 24 48
send_session_to_localdb()
A
41 15 50
get_location_by_ip()
A
50 12 24
get_user_ip()
S
56 6 18
get_cached_geo_data()
S
60 5 12
get_localdb_notification_data()
S
61 3 12
log_geo_request()
S
61 3 11
can_send_notification()
S
63 3 11
cache_geo_data()
S
58 2 15
reset_email_triggers()
S
68 3 6
get_instance()
S
73 2 5
get_geo_data()
S
62 2 10
get_status()
S
63 2 10
str_contains()
S
71 2 6
add_value_to_option()
S
72 2 5
__construct()
S
76 1 4